package com.CampusLife.dao;
import	java.util.List;



import com.CampusLife.bean.LostProduct;
import com.CampusLife.bean.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ILostProductDao {
    List<LostProduct> queryAll();

    LostProduct queryById(Integer l_id);

    void add(LostProduct lostProduct);

    void update(LostProduct lostProduct);

    void delete(Integer l_id);

    List<LostProduct> selectByName(@Param("lost_name") String lost_name);

    List<LostProduct> getProductAll();

    List<LostProduct> getProductAllByLostName(LostProduct lostProduct);

    List<LostProduct>  getLostProductByType(int l_tid);

    List<LostProduct> getOrder();

     LostProduct getLostProductById(int l_id);

    List<LostProduct>  queryByName(@Param("lost_name") String lost_name);

    List<LostProduct>  getLostProductByUserId (Integer id);
}
